﻿using DevExpress.XtraBars.Docking;

namespace Com.OpenCode.Framework.DevForm
{
    public class CNDockManagerResXLocalizer : DockManagerResXLocalizer
    {
        public override string Language
        {
            get { return "简体中文"; }
        }

        public override string GetLocalizedString(DockManagerStringId id)
        {
            switch (id)
            {
                case DockManagerStringId.CommandActivate:
                    break;
                case DockManagerStringId.CommandAutoHide:
                    return "自动隐藏";
                case DockManagerStringId.CommandClose:
                    return "关闭";
                case DockManagerStringId.CommandDock:
                    return "停靠";
                case DockManagerStringId.CommandDockAsTabbedDocument:
                    break;
                case DockManagerStringId.CommandFloat:
                    return "浮动";
                case DockManagerStringId.CommandMaximize:
                    return "最大化";
                case DockManagerStringId.CommandRestore:
                    return "恢复";
                case DockManagerStringId.MessageFormPropertyChangedCaption:
                    break;
                case DockManagerStringId.MessageFormPropertyChangedText:
                    break;
            }
            return base.GetLocalizedString(id);
        }
    }
}